import request from '@/utils/request'

// 列表查询
export function infolist(query1,query2) {
    return request({
        url: `/ywbiginfraphysicalmachine/list?current=${query2.current}&size=${query2.size}`,
        method: 'post',
        data: query1
    })
}
// 新增或修改
export const submit = (query) => {
    return request({
        method: 'post',
        url: '/ywbiginfraphysicalmachine/submit',
        data: query,
    });
};
// 逻辑删除
export const remove = (query) => {
    return request({
        method: 'post',
        url: `/ywbiginfraphysicalmachine/remove?ids=${query.ids}`,
    });
};

